package com.fs.common.service;

import com.fs.common.pojo.Order;
import com.fs.common.pojo.User;

/**
 * @author DeveloperKK
 * @desc
 * @creationTime 2019-08-27 09:12
 * @projectName yuezi-menu
 * @packageName com.fs.common.service
 */
public interface UserService {

    /**
     * 充值次数
     * @return
     */
    boolean rechargeCount(String userId, Order order);

    /**
     * 扣减次数
     * @param userId
     * @return
     */
    boolean deductionCount(String userId);

    /**
     * 添加积分
     * @param user
     * @param order
     * @return
     */
    boolean rechargeIntegral(User user, Order order);
}
